
<div id="tao_menumoi">
	<div id="tieude_tao_menumoi">
    	<img src="<?php echo base_url();?>image/admin/menu.png" width="35px" height="35px"><label>TẠO MENU MỚI</label>
    </div>
    <div id="noidung_tao_menumoi">
        <div id="control_noidung_tao_menumoi">
            <div id="control_noidung_tao_menumoi_quayve"><label><a href="<?php echo base_url();?>index.php/admin/admin/qlmenu">Quay về</a></label></div>
            <div id="control_noidung_tao_menumoi_luu"><label><a href="#" onclick="document.forms['tao_menumoi_form_frm'].submit(); return false;">Đồng ý</a></label></div>
        </div>
        <div id="tao_menumoi_form">
					<?php
                        $attributes = array('id'=>'tao_menumoi_form_frm', 'name'=>'tao_menumoi_form_frm');			
                        echo form_open_multipart(base_url().'index.php/admin/admin/themmoi_menu',$attributes);
                    ?>                               	
                    	<div class="block_tao_menumoi">
                    		<label>Tên menu</label>
                        	<input class="input_tao_menumoi" type="text" id="admin_tenmenu_tao_menumoi" name="admin_tenmenu_tao_menumoi" value="<?php echo set_value('admin_tenmenu_tao_menumoi','') ?>"/>                                                      
                        </div>
                        <?php echo form_error('admin_tenmenu_tao_menumoi', '<div class="error_validate_tao_menumoi">', '</div>'); ?>
                         
                         <div class="block_tao_menumoi">
                        	<label>Menu cha</label>
                            
                            <select class="input_select_tao_menumoi" name="sltmenucha" id="sltmenucha">
                                <option value="0">Không</option>
                                <?php
                                foreach($item as $element){
                                echo"<option value = ".$element['id_menu'].">".$element['ten_menu']."</option>";
                                }
                                ?>
                            </select>
                            
                          </div>
                         <?php echo form_error('admin_menucha_tao_menumoi', '<div class="error_validate_tao_menumoi">', '</div>'); ?> 
                         <div class="block_tao_menumoi">
                        	<label>Liên kết</label>
                        	<input class="input_tao_menumoi" type="text" id="admin_lienket_tao_menumoi" name="admin_lienket_tao_menumoi" value="<?php echo set_value('admin_lienket_tao_menumoi','')?>"/>
                         </div>
                         <?php echo form_error('admin_lienket_tao_menumoi', '<div class="error_validate_tao_menumoi">', '</div>'); ?>                          

                         <div class="block_tao_menumoi">
                        	<label>Vị trí thứ</label>
                        	<input class="input_tao_menumoi" type="text" id="admin_vitri_tao_menumoi" name="admin_vitri_tao_menumoi" value="<?php echo set_value('admin_vitri_tao_menumoi','')?>"/>
                         </div>
                         <?php echo form_error('admin_vitri_capnhatthongtincanhan', '<div class="error_validate_tao_menumoi">', '</div>'); ?>                          
                    </form>
                </div> 	
    </div>
</div>